package com.ktjy.mapper;

import com.ktjy.pojo.Address;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AddressMapper {
    public List<Address> selectAllAddress(@Param("contact") String contact,
                                          @Param("addressDesc") String addressDesc,
                                          @Param("tel") String tel);

    public int insertAddress(Address address);

    public int updateAddress(Address address);

    public int deleteAddress(int id);
}
